import 'package:flutter/cupertino.dart';

class DpNotifier with ChangeNotifier {
  var data = {'switch': false};

  void onChange(String key, value) {
    data[key] = value;
    notifyListeners();
  }
}
